<template>
  <div id="kgo-left-nav">
   <sys-info></sys-info>
   <ul class="layui-nav layui-nav-tree layui-bg-cyan" lay-filter="kgo-left-nav-filter" lay-shrink="all">
    <li class="layui-nav-item layui-nav-itemed"><router-link to="/projectHome">首页</router-link></li>
    <li class="layui-nav-item layui-nav-itemed"><router-link to="">编程规范</router-link>
      <dl class="layui-nav-child">
        <dd><router-link to="/queryStandard">规范总览</router-link></dd>
        <dd><router-link to="/addStandard">新增规范</router-link></dd>
      </dl>
    </li>
    <li class="layui-nav-item"><router-link to="">接口管理</router-link>
      <dl class="layui-nav-child">
        <dd><router-link to="/queryInterface">接口总览</router-link></dd>
        <dd><router-link to="/addInterface">新增接口</router-link></dd>
      </dl>
    </li>
    <li class="layui-nav-item"><router-link to="">项目管理</router-link>
      <dl class="layui-nav-child">
        <dd><router-link to="/nodo">与我相关的项目</router-link></dd>
        <dd><router-link to="/addProject">新增项目</router-link></dd>
      </dl>
    </li>
    <li class="layui-nav-item"><router-link to="">模块管理</router-link>
      <dl class="layui-nav-child">
        <dd><router-link to="/queryModule">模块总览</router-link></dd>
        <dd><router-link to="/addModule?id=">新增模块</router-link></dd>
      </dl>
    </li>
    <li class="layui-nav-item" v-if="isTest" ><router-link to="">重大变更</router-link>
      <dl class="layui-nav-child">
        <dd><router-link to="/nodo">需求变更</router-link></dd>
        <dd><router-link to="/nodo">人员变动</router-link></dd>
        <dd><router-link to="/nodo">开发周期变更</router-link></dd>
      </dl>
    </li>
    <li class="layui-nav-item"><router-link to="">问题管理</router-link>
      <dl class="layui-nav-child">
        <dd><router-link to="/nodo">问题总览</router-link></dd>
        <dd><router-link to="/nodo">问题提报</router-link></dd>
      </dl>
    </li>
    <li class="layui-nav-item"><router-link to="">bug管理</router-link>
      <dl class="layui-nav-child">
        <dd><router-link to="/nodo">bug总览</router-link></dd>
        <dd><router-link to="/nodo">bug提报</router-link></dd>
      </dl>
    </li>
     <li class="layui-nav-item"><router-link to="">文章管理</router-link>
      <dl class="layui-nav-child">
        <dd><router-link to="/nodo">文章总览</router-link></dd>
        <dd><router-link to="/nodo">新增文章</router-link></dd>
      </dl>
    </li>
  </ul>
  </div>
</template>

<script>
//系统信息
import SysInfo from './SysInfo'
export default {
   components: {
      SysInfo
    },
    data () {
        return {
          isTest:false
        }
     },
   mounted(){
    layui.element.init();
   }
}
</script>

<style lang="scss">
</style>
